provider Discover GET /api/0/organizations/{organization_id_or_slug}/discover/saved/
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/discover/saved/
List an Organization's Discover Saved Queries
Retrieve a list of saved queries that are associated with the given organization.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
per_page query
Limit the number of rows to return in the result. Default and maximum allowed is 100.
integer
cursor query
A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
string
query query
The name of the Discover query you'd like to filter by.
string
sortBy query
The property to sort results by. If not specified, the results are sorted by query name. Available fields are: - `name` - `dateCreated` - `dateUpdated` - `mostPopular` - `recentlyViewed` - `myqueries`
string

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listAnOrganizationSDiscoverSavedQueries
GET/api/0/organizations/{organization_id_or_slug}/discover/saved/
Retrieve a list of saved queries that are associated with the given organization.

Parameters

required

The ID or slug of the organization the resource belongs to.

Limit the number of rows to return in the result. Default and maximum allowed is 100.

A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.

The name of the Discover query you'd like to filter by.

The property to sort results by. If not specified, the results are sorted by query name. Available fields are: - `name` - `dateCreated` - `dateUpdated` - `mostPopular` - `recentlyViewed` - `myqueries`

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.listAnOrganizationSDiscoverSavedQueries()